.TH "dcmftest" 1 "20 Dec 2005" "Version Version 3.5.4" "OFFIS DCMTK" \" -*- nroff -*-
.nh
.SH NAME
dcmftest \- Test if file uses DICOM part 10 format
.SH "SYNOPSIS"
.PP
.PP
.nf

dcmftest file...
.fi
.PP
.SH "DESCRIPTION"
.PP
The \fBdcmftest\fP utility checks whether the files specified on the command line are DICOM files in part 10 format (with meta-header).
.SH "PARAMETERS"
.PP
.PP
.nf

dcmfile-in  DICOM input filename to be dumped
.fi
.PP
.SH "NOTES"
.PP
All files specified on the command line are checked for the presence of the DICOM 'magic word' 'DICM' at byte position 128. No attempt is made to parse the complete data set. For each file the test result is printed to \fIstdout\fP in the form 'yes: <filename>\\n' or 'no: <filename>\\n'. The utility terminates with a return code corresponding to the number of files found to be non-DICOM, i.e. if all files pass as DICOM files, the return value is 0. This behaviour is intended for use in shell script programming.
.SH "SEE ALSO"
.PP
\fBdcmgpdir\fP(1), \fBdcmmkdir\fP(1)
.SH "COPYRIGHT"
.PP
Copyright (C) 1997-2004 by Kuratorium OFFIS e.V., Escherweg 2, 26121 Oldenburg, Germany. 
